#ifndef COURBE_H
#define COURBE_H

#include "Point.h"

class Courbe
{
  public:	  
	static const int TYPE_COURBE_DROIT;

	Courbe();
	virtual ~Courbe();

	Point * getPoint1() { return m_p1; }
	Point * getPoint2() { return m_p2; }
	int getType() { return m_type; }

	void setPoint1(Point * val){ m_p1=val;}
	void setPoint2(Point * val){ m_p2=val;}
	void setType(int val) { m_type=val; }

  private:
  protected:
	Point * m_p1;
	Point * m_p2;
	int m_type;


};


#endif // COURBE_H
